<?php

require_once ("./fct_entete.php");
require_once ("./fct_config.inc.php");

session_start();

//titre de la page Internet
//htmlhead('Distribution Alimentaire','http://192.168.1.50/');

print '<center><h2>Bienvenue sur le site de gestion de la distribution alimentaire, <br/>Veuillez vous identifier.</h2></center>';

if ($_SESSION['connecte']==1)
{
	require_once ("baniere.php");
}
else
{
	print("<br/>");
	print("<center><form method=\"POST\" action=\"connexion.php\">");
	print("<label>Login :</label>");
	print("<br />");
	print("<input type=\"text\" size=\"15\" name=\"LoGin\" /> ");

	print("<br />");

	print("<label>Password :</label>");
	print("<br />");
	print("<input type=\"password\" size=\"15\" name=\"PassWord\" /> ");

	print("<br />");

	print("<input type=\"submit\" name=\"envoie\" />");

	print("</form></center>");

}


?>


